﻿
using System;

namespace wt.wine.Domain.Entities
{
    public class roletable
    {
        /// <summary>
        /// 角色id
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 父级id
        /// </summary>
        public int parentid { get; set; }
        /// <summary>
        /// 状态:0 正常
        /// </summary>
        public int state { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public int userid { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime createtime { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime updatetime { get; set; }
        /// <summary>
        /// 当前角色状态： 1 平台账号  2、经销商管理员 3 员工
        /// </summary>
        public int? roletype { get; set; }
    }
}
